﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM
{
    public class Log
    {
        private List<String> LogDetails;

        public Log()
        {
            this.LogDetails = new List<string>();
        }

        public void addLog(String log)
        {
            this.LogDetails.Add(log);
        }

        public String printLog()
        {
            String result = "";

            for (int i = 0; i < LogDetails.Count; i++)
            {
                result += LogDetails[i];
                result += "\r\n\n";
            }

            return result;
        }
    }
}
